package com.fintech.datagroud.entity.shzx;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 个人基本信息表
 * @author xiongxianghua
 *
 * 2017年11月24日
 */
public class EdcZxPersonalBasicInfo {
	private Integer id;
	//报告编号
	private String reportNo;
	//姓名
	private String realName;
	//性别
	private String sex;
	//证件类型
	private String cardType;
	//证件号码
	private String cardNo;
	//出生日期
	private Date birthday;
	//婚姻状况
	private String marry;
	//婚姻状况获取时间
	private Date marryDate;
	//最高学历
	private String education;
	//最高学历获取时间
	private Date educationDate;
	//职称
	private String position;
	//职称获取时间
	private Date positionDate;
	//住宅电话
	private String residencePhone;
	//住宅电话获取时间
	private Date residencePhoneDate;
	//手机号码
	private String mobileNo;
	//手机号码获取时间
	private Date mobileNoDate;
	//电子邮箱
	private String mailbox;
	//电子邮箱获取时间
	private Date mailboxDate;
	
	//创建人
	private String createdBy;
	//创建时间
	private Date createdDate;
	//修改人
	private String updatedBy;
	//修改时间
	private Date updatedDate;
	
	
	//个人地址信息
	private List<EdcZxPersonalAddrInfo> personalAddr;
	//个人单位信息
	private List<EdcZxPersonalUnitInfo> personalUnit;
	//个人配偶信息
	private EdcZxPersonalSpouseInfo periouInfo;
	
	//第一联系人信息
	private List<EdcZxPersonalFirstOneRelationInfo> personalFirstOneRelatio;
	//第二联系人
	private List<EdcZxPersonalFirstTwoRelationInfo> personalFirstTwoRelatio;
	
	
	public void addPersonalUnit(EdcZxPersonalUnitInfo info){
		if(null!=personalUnit){
			personalUnit.add(info);
		}else {
			personalUnit=new ArrayList<EdcZxPersonalUnitInfo>();
			personalUnit.add(info);
		}
	}
	
	public void addPersonalAddr(EdcZxPersonalAddrInfo info){
		if(null!=personalAddr){
			personalAddr.add(info);
		}else {
			personalAddr=new ArrayList<EdcZxPersonalAddrInfo>();
			personalAddr.add(info);
		}
	}
	
	public void addPersonalFirstOneRelatio(EdcZxPersonalFirstOneRelationInfo info){
		if(null!=personalFirstOneRelatio){
			this.personalFirstOneRelatio.add(info);
		}else {
			personalFirstOneRelatio=new ArrayList<EdcZxPersonalFirstOneRelationInfo>();
			this.personalFirstOneRelatio.add(info);
		}
		
	}
	
	public void addPersonalFirstTwoRelatio(EdcZxPersonalFirstTwoRelationInfo info){
		if(null!=personalFirstTwoRelatio){
			this.personalFirstTwoRelatio.add(info);
		}else {
			personalFirstTwoRelatio=new ArrayList<EdcZxPersonalFirstTwoRelationInfo>();
			this.personalFirstTwoRelatio.add(info);
		}
		
	}
	
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getReportNo() {
		return reportNo;
	}

	public void setReportNo(String reportNo) {
		this.reportNo = reportNo;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getCardType() {
		return cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getMarry() {
		return marry;
	}

	public void setMarry(String marry) {
		this.marry = marry;
	}

	public Date getMarryDate() {
		return marryDate;
	}

	public void setMarryDate(Date marryDate) {
		this.marryDate = marryDate;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public Date getEducationDate() {
		return educationDate;
	}

	public void setEducationDate(Date educationDate) {
		this.educationDate = educationDate;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public Date getPositionDate() {
		return positionDate;
	}

	public void setPositionDate(Date positionDate) {
		this.positionDate = positionDate;
	}

	public String getResidencePhone() {
		return residencePhone;
	}

	public void setResidencePhone(String residencePhone) {
		this.residencePhone = residencePhone;
	}

	public Date getResidencePhoneDate() {
		return residencePhoneDate;
	}

	public void setResidencePhoneDate(Date residencePhoneDate) {
		this.residencePhoneDate = residencePhoneDate;
	}

	public String getMobileNo() {
		return mobileNo;
	}

	public void setMobileNo(String mobileNo) {
		this.mobileNo = mobileNo;
	}

	public Date getMobileNoDate() {
		return mobileNoDate;
	}

	public void setMobileNoDate(Date mobileNoDate) {
		this.mobileNoDate = mobileNoDate;
	}

	public String getMailbox() {
		return mailbox;
	}

	public void setMailbox(String mailbox) {
		this.mailbox = mailbox;
	}

	

	public Date getMailboxDate() {
		return mailboxDate;
	}

	public void setMailboxDate(Date mailboxDate) {
		this.mailboxDate = mailboxDate;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public String getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}

	public Date getUpdatedDate() {
		return updatedDate;
	}

	public void setUpdatedDate(Date updatedDate) {
		this.updatedDate = updatedDate;
	}

	

	public List<EdcZxPersonalAddrInfo> getPersonalAddr() {
		return personalAddr;
	}

	public void setPersonalAddr(List<EdcZxPersonalAddrInfo> personalAddr) {
		this.personalAddr = personalAddr;
	}

	

	public List<EdcZxPersonalUnitInfo> getPersonalUnit() {
		return personalUnit;
	}

	public void setPersonalUnit(List<EdcZxPersonalUnitInfo> personalUnit) {
		this.personalUnit = personalUnit;
	}

	public EdcZxPersonalSpouseInfo getPeriouInfo() {
		return periouInfo;
	}

	public void setPeriouInfo(EdcZxPersonalSpouseInfo periouInfo) {
		this.periouInfo = periouInfo;
	}

	

	public List<EdcZxPersonalFirstOneRelationInfo> getPersonalFirstOneRelatio() {
		return personalFirstOneRelatio;
	}

	public void setPersonalFirstOneRelatio(
			List<EdcZxPersonalFirstOneRelationInfo> personalFirstOneRelatio) {
		this.personalFirstOneRelatio = personalFirstOneRelatio;
	}

	
	public List<EdcZxPersonalFirstTwoRelationInfo> getPersonalFirstTwoRelatio() {
		return personalFirstTwoRelatio;
	}

	public void setPersonalFirstTwoRelatio(
			List<EdcZxPersonalFirstTwoRelationInfo> personalFirstTwoRelatio) {
		this.personalFirstTwoRelatio = personalFirstTwoRelatio;
	}

	@Override
	public String toString() {
		return "EdcZxPersonalBasicInfo [id=" + id + ", reportNo=" + reportNo
				+ ", realName=" + realName + ", sex=" + sex + ", cardType="
				+ cardType + ", cardNo=" + cardNo + ", birthday=" + birthday
				+ ", marry=" + marry + ", marryDate=" + marryDate
				+ ", education=" + education + ", educationDate="
				+ educationDate + ", position=" + position + ", positionDate="
				+ positionDate + ", residencePhone=" + residencePhone
				+ ", residencePhoneDate=" + residencePhoneDate + ", mobileNo="
				+ mobileNo + ", mobileNoDate=" + mobileNoDate + ", mailbox="
				+ mailbox + ", mailboxDate=" + mailboxDate + ", createdBy="
				+ createdBy + ", createdDate=" + createdDate + ", updatedBy="
				+ updatedBy + ", updatedDate=" + updatedDate
				+ ", personalAddr=" + personalAddr + ", personalUnit="
				+ personalUnit + ", periouInfo=" + periouInfo
				+ ", personalFirstOneRelatio=" + personalFirstOneRelatio
				+ ", personalFirstTwoRelatio=" + personalFirstTwoRelatio + "]";
	}

	
	
	
}
